package com.fsnbigdata.service.api;

import com.fsnbigdata.domain.ZhExpert;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @Author: chen quan zhou
 * @Date: Created in 19:02 2018/9/29
 * @Modified By:
 */

public interface ZhExpertService {
    
    ZhExpert findById(Long id);
    
    ZhExpert save(ZhExpert zhExpert);
    
    List<ZhExpert> findAll(String creator);
    
    void deleteOne(Long id);
    
    void delete(Iterable<Long> ids);
    
    ZhExpert update(ZhExpert zhExpert);
    
    Page<ZhExpert> findByPageAndSize(String name, Pageable pageable);

    List<ZhExpert> findAllByType(Integer type);

    List queryList(String type, Pageable pageable);
}
